﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace PlaceOrder_Core.PlaceOrderModels;

[Table("sys_user")]
public partial class SysUser
{
    [Column("user_id")]
    public long UserId { get; set; }

    [Column("dept_id")]
    public string? DeptId { get; set; }

    [Column("user_name")]
    public string? UserName { get; set; }

    [Column("nick_name")]
    public string? NickName { get; set; }

    [Column("user_type")]
    public string? UserType { get; set; }

    [Column("email")]
    public string? Email { get; set; }

    [Column("phonenumber")]
    public string? Phonenumber { get; set; }

    [Column("sex")]
    public string? Sex { get; set; }

    [Column("avatar")]
    public string? Avatar { get; set; }

    [Column("password")]
    public string? Password { get; set; }

    [Column("status")]
    public string? Status { get; set; }

    [Column("del_flag")]
    public string DelFlag { get; set; } = null!;

    [Column("login_ip")]
    public string? LoginIp { get; set; }

    [Column("login_date")]
    public DateTime? LoginDate { get; set; }

    [Column("create_by")]
    public string? CreateBy { get; set; }

    [Column("create_time")]
    public DateTime? CreateTime { get; set; }


    [Column("update_by")]
    public string? UpdateBy { get; set; }

    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }

    [Column("remark")]
    public string? Remark { get; set; }

    [Column("show_in_app")]
    public bool? ShowInApp { get; set; }
}
